package com.qdu.genCode;


public class Gemcpde {
//    public static void main(String[] args) {
//        DataSourceConfig dataSourceConfig = new DataSourceConfig.Builder("jdbc:mysql://localhost:3306/walkathon","root","N2kH5lJVJLAHWObs").build();
//        //String projectPath = System.getProperty("user.dir");
//        //GlobalConfig globalConfig = new GlobalConfig.Builder().outputDir(projectPath+"/src/main/java").openDir(false).build();
//       GlobalConfig globalConfig = new GlobalConfig.Builder().outputDir("C:\\Users\\Administrator\\Desktop\\Tem\\walkathon-\\Server\\src\\main\\java").openDir(false).build();
//        PackageConfig packageConfig = new PackageConfig.Builder().moduleName("test").parent("com.qdu").build();
//        AutoGenerator autoGenerator = new AutoGenerator(dataSourceConfig);
//        autoGenerator.global(globalConfig).packageInfo(packageConfig);
//        autoGenerator.execute();
//    }
}
